/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Splines;

/**
 *
 * @author Jhon
 */
public class Points {
    private int x;
    private int y;
    private int z;

    public Points(int i,int j){
        x=i;
        y=j;
        z=0;
    }

    public Points(int i,int j,int k){
        x=i;
        y=j;
        z=k;
    }
    /**
     * @return the x
     */
    public int getX() {
        return x;
    }

    /**
     * @param x the x to set
     */
    public void setX(int x) {
        this.x = x;
    }

    /**
     * @return the y
     */
    public int getY() {
        return y;
    }

    /**
     * @param y the y to set
     */
    public void setY(int y) {
        this.y = y;
    }

    /**
     * @return the z
     */
    public int getZ() {
        return z;
    }

    /**
     * @param z the z to set
     */
    public void setZ(int z) {
        this.z = z;
    }
}
